package com.centaline.androidsalesblog.model.businissobject;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 租售房源图片
 * Created by guilin on 16/1/29.
 */
public class PostImgBo implements Parcelable {

    private String ID;
    private int Seq;
    private String Path;
    private String HdPath;
    private String Description;
    private String RefType;

    public PostImgBo() {
    }

    public String getID() {
        return ID;
    }

    public void setID(String ID) {
        this.ID = ID;
    }

    public int getSeq() {
        return Seq;
    }

    public void setSeq(int seq) {
        Seq = seq;
    }

    public String getPath() {
        return Path;
    }

    public void setPath(String path) {
        Path = path;
    }

    public String getHdPath() {
        return HdPath;
    }

    public void setHdPath(String hdPath) {
        HdPath = hdPath;
    }

    public String getDescription() {
        return Description;
    }

    public void setDescription(String description) {
        Description = description;
    }

    public String getRefType() {
        return RefType;
    }

    public void setRefType(String refType) {
        RefType = refType;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.ID);
        dest.writeInt(this.Seq);
        dest.writeString(this.Path);
        dest.writeString(this.HdPath);
        dest.writeString(this.Description);
        dest.writeString(this.RefType);
    }

    protected PostImgBo(Parcel in) {
        this.ID = in.readString();
        this.Seq = in.readInt();
        this.Path = in.readString();
        this.HdPath = in.readString();
        this.Description = in.readString();
        this.RefType = in.readString();
    }

    public static final Parcelable.Creator<PostImgBo> CREATOR = new Parcelable.Creator<PostImgBo>() {
        public PostImgBo createFromParcel(Parcel source) {
            return new PostImgBo(source);
        }

        public PostImgBo[] newArray(int size) {
            return new PostImgBo[size];
        }
    };
}
